package com.jhd.fuzhou.service;


import com.jhd.fuzhou.vo.JsonForResult;

import java.util.Map;

import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.PartMap;
import retrofit2.http.QueryMap;
import retrofit2.http.Streaming;

public interface PDFService {
    //文书号领用-取号，传claimDeptId，docType（非必传）
    @GET("supervise/documentNoClaim/takeDocumentNo")
    Call<JsonForResult> takeDocumentNo(@Header("Authorization") String token,@QueryMap Map<String, String> params);
    //文书模板-获取文书模板列表，传docType(日常监督文书)，pageIndex: 1;pageSize: 10
    @GET("supervise/docTemplate/getDocTemplateListForApp")
    Call<JsonForResult> getDocTemplateList(@Header("Authorization") String token,@QueryMap Map<String, String> params);
    //现场笔录
    @POST("supervise/inquiryRecord/exportInquiryRecordPDF")
    Call<ResponseBody> exportInquiryRecordPDF(@Header("Authorization") String token, @Body RequestBody requestBody);
    //意见监督书
    @POST("supervise/superviseOpinion/exportSuperviseOpinionPDF")
    Call<ResponseBody> exportSuperviseOpinionPDF(@Header("Authorization") String token, @Body RequestBody requestBody);
    //现场照片证据
    @POST("supervise/supervisionInspectionPhoto/exportPDF")
    Call<ResponseBody> exportSupervisionInspectionPhoto(@Header("Authorization") String token, @Body RequestBody requestBody);
    //询问笔录
    @POST("supervise/enquiryRecord/exportEnquiryRecordPDF")
    Call<ResponseBody> exportEnquiryRecordPDF(@Header("Authorization") String token, @Body RequestBody requestBody);
    //量化分级表
    @POST("supervise/gradeReportMst/exportGradeReportPDF")
    Call<ResponseBody> exportGradeReportPDF(@Header("Authorization") String token, @Body RequestBody requestBody);
}
